home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 92 / CDMM92_1.ISO / SOF 2 SDK / sof2sdk-101.msi / _92D6AC311BB48EBA344BBABC89DA6AB0 / _6B624C832FA9439F83CB983C682979D8 < prev    next >
Encoding:
Text File  |  2002-03-23  |  3.3 KB  |  182 lines

  1. {
  2.     \\ SERVER INFO MENU 
  3.  
  4.     menuDef 
  5.     {
  6.          name            "ingame_vote"
  7.          visible            0
  8.          fullscreen        0
  9.         rect            366 50 128 78
  10.         disableColor    .36 .42 .24 1
  11.  
  12.         ////////////////////////////////////////////////////////////////////////
  13.         //  Dialog frame
  14.         ////////////////////////////////////////////////////////////////////////
  15.  
  16.         itemDef
  17.         {
  18.             name        window
  19.             style        WINDOW_STYLE_SHADER
  20.             rect        -6 -6 134 84
  21.             background    "gfx/menus/ingame/background.png"
  22.             visible        1
  23.             decoration
  24.         }
  25.  
  26.         itemDef
  27.         {
  28.             name        window
  29.             style        WINDOW_STYLE_SHADER
  30.             rect        -12 -10 8 8
  31.             background    "gfx/menus/ingame/frame_topleft.png"
  32.             visible        1
  33.             decoration
  34.         }
  35.  
  36.         itemDef
  37.         {
  38.             name        window
  39.             style        WINDOW_STYLE_SHADER
  40.             rect        -6 -10 134 8
  41.             background    "gfx/menus/ingame/frame_top.png"
  42.             visible        1
  43.             decoration
  44.         }
  45.  
  46.         itemDef
  47.         {
  48.             name        window
  49.             style        WINDOW_STYLE_SHADER
  50.             rect        128 -10 8 8
  51.             background    "gfx/menus/ingame/frame_topright.png"
  52.             visible        1
  53.             decoration
  54.         }
  55.  
  56.         itemDef
  57.         {
  58.             name        window
  59.             style        WINDOW_STYLE_SHADER
  60.             rect        -12 78 8 8
  61.             background    "gfx/menus/ingame/frame_bottomleft.png"
  62.             visible        1
  63.             decoration
  64.         }
  65.  
  66.         itemDef
  67.         {
  68.             name        window
  69.             style        WINDOW_STYLE_SHADER
  70.             rect        -6 78 134 8
  71.             background    "gfx/menus/ingame/frame_bottom.png"
  72.             visible        1
  73.             decoration
  74.         }
  75.  
  76.         itemDef
  77.         {
  78.             name        window
  79.             style        WINDOW_STYLE_SHADER
  80.             rect        128 78 8 8
  81.             background    "gfx/menus/ingame/frame_bottomright.png"
  82.             visible        1
  83.             decoration
  84.         }
  85.  
  86.         itemDef
  87.         {
  88.             name        window
  89.             style        WINDOW_STYLE_SHADER
  90.             rect        128 -6 8 84
  91.             background    "gfx/menus/ingame/frame_right.png"
  92.             visible        1
  93.             decoration
  94.         }
  95.  
  96.         itemDef
  97.         {
  98.             name        window
  99.             style        WINDOW_STYLE_SHADER
  100.             rect        -12 -6 8 84
  101.             background    "gfx/menus/ingame/frame_left.png"
  102.             visible        1
  103.             decoration
  104.         }
  105.  
  106.         itemDef 
  107.         {
  108.             name        yes_button
  109.             type        ITEM_TYPE_BUTTON
  110.             style        WINDOW_STYLE_FILLED
  111.             rect        10 10 100 26
  112.             text        "Yes"
  113.             textalign    1
  114.             textalignx    50
  115.             textaligny    6
  116.             textfont    "hud"
  117.             textscale    .43
  118.               forecolor    .12 .14 .08 1
  119.               visible        1
  120.             border        1
  121.             bordercolor    0 0 0 1
  122.             
  123.             action 
  124.             { 
  125.                 play "sound/misc/menus/select.wav" ; 
  126.  
  127.                 exec "vote yes" ; 
  128.                 uiScript closeingame 
  129.             }
  130.             mouseEnter 
  131.             { 
  132.                 play "sound/misc/menus/hilite1.wav" ; 
  133.                 setitemcolor yes_button backcolor .12 .14 .08 1;
  134.                 setitemcolor yes_button forecolor .49 .56 .27 1;
  135.             }                 
  136.             mouseExit 
  137.             { 
  138.                 setitemcolor yes_button backcolor 0 0 0 0;
  139.                 setitemcolor yes_button forecolor .12 .14 .08 1;
  140.             }
  141.         }
  142.  
  143.         itemDef 
  144.         {
  145.             name        no_button
  146.             type        ITEM_TYPE_BUTTON
  147.             style        WINDOW_STYLE_FILLED
  148.             rect        10 40 100 26
  149.             text        "No"
  150.             textalign    1
  151.             textalignx    50
  152.             textaligny    6
  153.             textfont    "hud"
  154.             textscale    .43
  155.               forecolor    .12 .14 .08 1
  156.               visible        1
  157.             border        1
  158.             bordercolor    0 0 0 1
  159.  
  160.             action 
  161.             { 
  162.                 play "sound/misc/menus/select.wav" ; 
  163.  
  164.                 exec "vote no" ; 
  165.                 uiScript closeingame 
  166.             }
  167.             mouseEnter 
  168.             { 
  169.                 play "sound/misc/menus/hilite1.wav" ; 
  170.                 setitemcolor no_button backcolor .12 .14 .08 1;
  171.                 setitemcolor no_button forecolor .49 .56 .27 1;
  172.             }                 
  173.             mouseExit 
  174.             { 
  175.                 setitemcolor no_button backcolor 0 0 0 0;
  176.                 setitemcolor no_button forecolor .12 .14 .08 1;
  177.             }
  178.         }
  179.  
  180.     }
  181. }
  182.